package com.zld.smarket.dao;

import com.zld.smarket.pojo.Supplier;
import java.util.List;

public interface SupplierMapper {
    int deleteByPrimaryKey(Long supplierId);

    int insert(Supplier record);

    Supplier selectByPrimaryKey(Long supplierId);

    List<Supplier> selectAll();

    int updateByPrimaryKey(Supplier record);

    List<Supplier> selectAllAndPage(Integer page, Integer limit);

    Long countSupplier();

    List<Supplier> search(String s, Integer page, Integer limit);
}